<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Menu Arbitre</title>
<!-- Bootstrap -->
		<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
		<link rel="stylesheet" href="css/jquery.jOrgChart.css"/>
		<link rel="stylesheet" href="css/foot.css"/>
		
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
</head>
<body>

<div class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">FootMassonMonedierePerrin - Arbitrage</a>
        </div>
        <div class="collapse navbar-collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="?action=retourMenuAdmin">Menu</a></li>
            <li><a href="?action=deconnexion">Deconnexion</a></li>
          </ul>
        </div>
      </div>
    </div>
	
	<!-- liste des matchs attribué -->
	<div class="starter-template">
		<h2>Match en Cours</h2>
		<table class="table list table-striped table-bordered">
			<thead>
				<tr>
					<th class="list">match</th>
				</tr>
			</thead>
			<c:if test="${not empty sessionScope.listeMatch}">
				<c:forEach var="m" items="${sessionScope.listeMatch}">
					<tr>
						<td><a href="?action=modifmatch&id=${ m.id }">${m.equipe1.nomEquipe} Vs ${m.equipe2.nomEquipe}</a></td>
					</tr>
				</c:forEach>
			</c:if>
			<c:if test="${empty sessionScope.listeMatch}">
				<tr> <td> Aucun match en cours </td> </tr>
			</c:if>
			
		</table>
	</div>

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>